import 'package:flutter/cupertino.dart';
import 'package:flutter_roujiaosuo/requests/models/SupplyModel.dart';
import 'package:meta/meta.dart';
import 'package:equatable/equatable.dart';

@immutable
abstract class SupplyBlocState extends Equatable{}

class InitialSupplyBlocState extends SupplyBlocState {}

class LoadingSupplyBlocState extends SupplyBlocState {}

class LoadedSupplyBlocState extends SupplyBlocState {
  LoadedSupplyBlocState({@required this.supply})
      : assert(supply != null),
        super();
  final Supply supply;
}

class ErrorSupplyBlocState extends SupplyBlocState {}
